package com.peanut.baby.mvp.bind;

import com.peanut.baby.mvp.BasePresenter;
import com.peanut.baby.mvp.BaseView;

/**
 * Created by anonymouslystudio on 2017/7/5.
 */

public interface BindContract {

    interface View extends BaseView{
        void onBindSuccess();
        void onBindFailed(String code, String failReason);
        void startCountDown();
        void onCountDown(int current);
        void onCountComplete();
        void onRequestSMSCodeFailed(String reason);
    }

    interface Presenter extends BasePresenter{
        void getVCode(String mobile);
        void submitBind(String mobile, String code);
    }
}
